export function timestampToTime(num){
	let date = new Date(num*1000)
	let year = date.getFullYear()
	let month = date.getMonth()+1<10?'0'+(date.getMonth()+1):date.getMonth()+1;
	let day = date.getDate();
	let hour = date.getHours();
	let miao = date.getMinutes();
	let hm = date.getSeconds();
	let timeStr = year+'-'+month+'-'+day+' '+hour+':'+miao+':'+hm

	console.log(timeStr)
	return timeStr
}